
namespace JTZY.Model.Stock
{
    /// <summary>
    /// 调仓订单明细表
    /// </summary>
    [SugarTable("transferorderitem")]
    public class Transferorderitem
    {
        /// <summary>
        /// 序号 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 订单ID 关联order.id 
        /// </summary>
        public string OrderId { get; set; }

        /// <summary>
        /// 货品ID 关联products.id 
        /// </summary>
        public int ProductId { get; set; }
        public int GoodsId { get; set; }

        /// <summary>
        /// 货品编码 
        /// </summary>
        public string Sn { get; set; }

        /// <summary>
        /// 69码 
        /// </summary>
        public string BarCode { get; set; }

        /// <summary>
        /// 货品价格单价 
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 图片 
        /// </summary>
        public string ImageUrl { get; set; }

        /// <summary>
        /// 数量 
        /// </summary>
        public int Nums { get; set; }

        /// <summary>
        /// 总价 
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 货品明细序列号存储 
        /// </summary>
        public string Addon { get; set; }

        public DateTime CreateTime { get; set; }

        public string SnCodes { get; set; }

        [SugarColumn(IsIgnore =true)]
        public int Stock { get; set; }
        [SugarColumn(IsIgnore = true)]
        public int scannedNum { get; set; }
    }
}